using System;
using System.Collections.Generic;
using System.Text;
using SharpMud.MudLib.Common.Entities;

namespace SharpMud.MudLib.Common.Entities.Players.Persistance
{
    public interface IPlayerCharacterStreamer<TPlayerCharacterInstance> where TPlayerCharacterInstance : IPlayerCharacter, new()
    {
        IPlayerCharacterLoadResults<TPlayerCharacterInstance> LoadPlayerCharacter(System.IO.Stream stream);
        IPlayerCharacterSaveResults SavePlayerCharacter(System.IO.Stream stream, TPlayerCharacterInstance playerCharacter);
    }
}
